﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            KillBoosNPC a = new KillBoosNPC("杀怪NPC", NpcType.task, "杀怪");
            LetterNPC b = new LetterNPC("送信NPC", NpcType.task, "送信");
            GatherNPC c = new GatherNPC("采集NPC", NpcType.task, "采集");
            WeaponNPC d = new WeaponNPC("武器NPC", NpcType.shop, "卖武器");
            MaterialsNPC e = new MaterialsNPC("材料NPC", NpcType.shop, "卖材料");
            FoodNPC f = new FoodNPC("食物NPC", NpcType.shop, "卖食物");
            RepairNPC g = new RepairNPC("修补NPC", NpcType.iron, "修补");
            IntensifyNPC h = new IntensifyNPC("强化NPC", NpcType.iron, "强化");
            ForgeNPC forge = new ForgeNPC("打造NPC", NpcType.iron, "打造");
            Test(a);
            Test(b);
            Test(c);
            Test(d);
            Test(e);
            Test(f);
            Test(g);
            Test(h);
            Test(forge);
        }
        static void Test(TaskNPC l)
        {
            l.Speak();
        }
        static void Test(ShopNPC l)
        {
            l.Speak();
        }
        static void Test(IronNPC l)
        {
            l.Speak();
        }
    }
}
